package com.common.www.bean.entity.project;


import org.springframework.boot.base.jpa.domain.annotations.QueryCacheable;
import org.springframework.boot.base.jpa.domain.entity.NumberIdentityEntity;
import io.swagger.annotations.ApiModel;
import lombok.*;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 项目-公寓
 *
 * @param
 * @author andyliu
 * @date 5/28/2018 4:23 PM
 * @return
 */
@DynamicUpdate(true)
@DynamicInsert(true)
@Entity
@Getter
@Setter
@QueryCacheable
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
@Table()
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "project返回参数")
public class GongYu extends NumberIdentityEntity {
    /**
     * 面积（㎡）
     */
    @Column(length = 11, precision = 12, scale = 4)
    private BigDecimal yeTaiArea;
    /**
     * 业态占比(%)
     */
    @Column(length = 11, precision = 12, scale = 4)
    private BigDecimal yeTaiZb;
    /**
     * 层数（层）
     */
    @Column(length = 11)
    private Integer cengShu;
    /**
     * 建筑高度（米）
     */
    @Column(length = 11, precision = 12, scale = 4)
    private Double buildingHeight;
    /**
     * 梯户比：1T2、2T2、2T4、2T6、3T6、/
     */
    @Column(length = 36)
    private String tiHuBi;

    /**
     * 楼梯间数量：双个、单个、/
     */
    @Column(length = 36)
    private String ltjsl;
    /**
     * 喷淋形式：水喷淋、泡沫喷淋、/
     */
    @Column(length = 36)
    private String plxs;
    /**
     * 地上排风形式：自然排风、机械排风、/
     */
    @Column(length = 36)
    private String dspfxs;
    /**
     * 风井数量（趟）：单趟、双趟、/
     */
    @Column(length = 36)
    private String fjsl;
    /**
     * 总坪消火栓管网配置形式：埋地、地下室环网、/
     */
    @Column(length = 36)
    private String zpxhsgwpzxs;
    /**
     * 钢管供应方式：甲供、乙供、/
     */
    @Column(length = 36)
    private String gggyfs;
    /**
     * 电梯厅数量
     */
    @Column(length = 11)
    private Integer dttsl;
    /**
     * 公区连廊: 有、无
     */
    @Column(length = 36)
    private String gqll;
    /**
     * 配电房数量(个)
     */
    @Column(length = 11)
    private Integer pdfsl;


}